package sample

type SampleIdReq struct {
	SampleId string `form:"sampleId" binding:"required,max=50"`
}

type Process struct {
	ProcessName string `json:"stageName"`
	Start       int8   `json:"start"`
	End         int8   `json:"end"`
	Description string `json:"description"`
}

type Medium struct {
	Name  string `json:"name"`
	Start int8   `json:"start"`
	End   int8   `json:"end"`
}

type Material struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type KeyNode struct {
	Name string `json:"name"`
	Day  int8   `json:"day"`
}

// ProtocolDetailRes 培养方案详细返回
type ProtocolDetailRes struct {
	Process  []Process  `json:"stage"`
	Medium   []Medium   `json:"medium"`
	Material []Material `json:"material"`
	KeyNode  []KeyNode  `json:"keyNode"`
}
